package com.sita.linboard.person;

import java.io.Serializable;

/**
 * Created by Jason on 2016/9/19.
 */
public class SettingBackBean implements Serializable{

    /**
     * errorCode : 0
     * data : {"account":{"accountId":"439435360729041973","userName":null,"mobile":"18222966432","email":null,"avatar":"http://123.206.201.243/yun/userinfo/avatar/0/default.png","nickName":"18222966432","birthday":null,"gender":0,"address":null,"uniqueId":null,"signature":null,"deptname":null,"deptcode":null,"unitTpye":null,"driver":{"type":1,"ssn":null,"user_id":null,"register_date":null,"contact_phone":null,"plate_number":null,"nickname":null},"imPassword":"1","registerDate":null},"myTripsCount":132,"score":5}
     */

    private String errorCode;
    /**
     * account : {"accountId":"439435360729041973","userName":null,"mobile":"18222966432","email":null,"avatar":"http://123.206.201.243/yun/userinfo/avatar/0/default.png","nickName":"18222966432","birthday":null,"gender":0,"address":null,"uniqueId":null,"signature":null,"deptname":null,"deptcode":null,"unitTpye":null,"driver":{"type":1,"ssn":null,"user_id":null,"register_date":null,"contact_phone":null,"plate_number":null,"nickname":null},"imPassword":"1","registerDate":null}
     * myTripsCount : 132
     * score : 5
     */

    private DataBean data;

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * accountId : 439435360729041973
         * userName : null
         * mobile : 18222966432
         * email : null
         * avatar : http://123.206.201.243/yun/userinfo/avatar/0/default.png
         * nickName : 18222966432
         * birthday : null
         * gender : 0
         * address : null
         * uniqueId : null
         * signature : null
         * deptname : null
         * deptcode : null
         * unitTpye : null
         * driver : {"type":1,"ssn":null,"user_id":null,"register_date":null,"contact_phone":null,"plate_number":null,"nickname":null}
         * imPassword : 1
         * registerDate : null
         */

        private AccountBean account;
        private int myTripsCount;
        private int score;

        public AccountBean getAccount() {
            return account;
        }

        public void setAccount(AccountBean account) {
            this.account = account;
        }

        public int getMyTripsCount() {
            return myTripsCount;
        }

        public void setMyTripsCount(int myTripsCount) {
            this.myTripsCount = myTripsCount;
        }

        public int getScore() {
            return score;
        }

        public void setScore(int score) {
            this.score = score;
        }

        public static class AccountBean implements Serializable{
            private String accountId;
            private Object userName;
            private String mobile;
            private Object email;
            private String avatar;
            private String nickName;
            private Object birthday;
            private int gender;
            private Object address;
            private Object uniqueId;
            private Object signature;
            private Object deptname;
            private Object deptcode;
            private Object unitTpye;
            /**
             * type : 1
             * ssn : null
             * user_id : null
             * register_date : null
             * contact_phone : null
             * plate_number : null
             * nickname : null
             */

            private DriverBean driver;
            private String imPassword;
            private Object registerDate;

            public String getAccountId() {
                return accountId;
            }

            public void setAccountId(String accountId) {
                this.accountId = accountId;
            }

            public Object getUserName() {
                return userName;
            }

            public void setUserName(Object userName) {
                this.userName = userName;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public Object getEmail() {
                return email;
            }

            public void setEmail(Object email) {
                this.email = email;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public Object getBirthday() {
                return birthday;
            }

            public void setBirthday(Object birthday) {
                this.birthday = birthday;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public Object getAddress() {
                return address;
            }

            public void setAddress(Object address) {
                this.address = address;
            }

            public Object getUniqueId() {
                return uniqueId;
            }

            public void setUniqueId(Object uniqueId) {
                this.uniqueId = uniqueId;
            }

            public Object getSignature() {
                return signature;
            }

            public void setSignature(Object signature) {
                this.signature = signature;
            }

            public Object getDeptname() {
                return deptname;
            }

            public void setDeptname(Object deptname) {
                this.deptname = deptname;
            }

            public Object getDeptcode() {
                return deptcode;
            }

            public void setDeptcode(Object deptcode) {
                this.deptcode = deptcode;
            }

            public Object getUnitTpye() {
                return unitTpye;
            }

            public void setUnitTpye(Object unitTpye) {
                this.unitTpye = unitTpye;
            }

            public DriverBean getDriver() {
                return driver;
            }

            public void setDriver(DriverBean driver) {
                this.driver = driver;
            }

            public String getImPassword() {
                return imPassword;
            }

            public void setImPassword(String imPassword) {
                this.imPassword = imPassword;
            }

            public Object getRegisterDate() {
                return registerDate;
            }

            public void setRegisterDate(Object registerDate) {
                this.registerDate = registerDate;
            }

            public static class DriverBean implements Serializable{
                private int type;
                private Object ssn;
                private Object user_id;
                private Object register_date;
                private Object contact_phone;
                private Object plate_number;
                private Object nickname;

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public Object getSsn() {
                    return ssn;
                }

                public void setSsn(Object ssn) {
                    this.ssn = ssn;
                }

                public Object getUser_id() {
                    return user_id;
                }

                public void setUser_id(Object user_id) {
                    this.user_id = user_id;
                }

                public Object getRegister_date() {
                    return register_date;
                }

                public void setRegister_date(Object register_date) {
                    this.register_date = register_date;
                }

                public Object getContact_phone() {
                    return contact_phone;
                }

                public void setContact_phone(Object contact_phone) {
                    this.contact_phone = contact_phone;
                }

                public Object getPlate_number() {
                    return plate_number;
                }

                public void setPlate_number(Object plate_number) {
                    this.plate_number = plate_number;
                }

                public Object getNickname() {
                    return nickname;
                }

                public void setNickname(Object nickname) {
                    this.nickname = nickname;
                }
            }
        }
    }
}
